package com.domain.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName apply_friend
 */
@TableName(value ="apply_friend")
@Data
public class ApplyFriend implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 申请用户id
     */
    @TableField(value = "apply_user_id")
    private Long applyUserId;

    /**
     * 申请语
     */
    @TableField(value = "text")
    private String text;

    /**
     * 申请时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 申请状态 0是未同意，1是同意
     */
    @TableLogic
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}